//
//  MainManager.h
//  CBT
//
//  Created by Mr.Zhang on 2018/11/30.
//  Copyright © 2018 Mr.Zhang. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^manager_result_block)(id data, HttpRequestResult result,NSString *msg);

NS_ASSUME_NONNULL_BEGIN

@interface MainManager : NSObject

/** 首页收益接口 */
+(void)mainIncomeWithUserID:(NSString *)userID block:(manager_result_block)block;

/** 已上架币种 */
+(void)mainCoinInfoListWithUserID:(NSString *)userID page:(int)page block:(manager_result_block)block;

/**
 首页、详情公告

 @param type 1 为首页 2 为更多
 @param page 页数
 @param block 成功Block
 */
+(void)mainGetNewsListWithType:(NSString *)type page:(NSInteger)page block:(manager_result_block)block;
@end

NS_ASSUME_NONNULL_END
